<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>下拉选项框</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>

</head>
<body>
    <div id="app">
        <h1>{{info}}</h1>
        <select v-model="info">
            <!-- value值不设置时，默认为option文本框中的内容 -->
            <option value="" disabled>请选择</option>
            <option value="apple">苹果</option>
            <option>香蕉</option>
            <option>橙子</option>
        </select>

        <h1>{{msg}}</h1>
        <select v-model="msg" multiple>
            <!-- value值不设置时，默认为option文本框中的内容 -->
            <option value="" disabled>请选择</option>
            <option value="apple">苹果</option>
            <option>香蕉</option>
            <option>橙子</option>
        </select>
       
    </div>
    <script>
       var app = new Vue({
           el:"#app",
           data:{
            info:"",
            msg:[]
           }
       });
    </script>
</body>
</html>